package com.base.myproject.server.ratify;


public class TestMain {

	public static void main(String[] argv) throws Exception
	{
/*		Vector v = new Vector();
		RatifyObject ro1 = new RatifyJDBC("1001","102");
		RatifyObject ro2 = new RatifyJDBC("1002","102");
		RatifyObject ro3 = new RatifyJDBC("1003","102");
		RatifyObject ro4 = new RatifyJDBC("1004","102");
		
		ro1.setTostatus("10");
		
		ro2.setTostatus("20");
		ro3.setTostatus("30");
		ro4.setTostatus("40");
		
		ro1.setIsfirst(true);
		
		
		ro1.addDownRatifyObject(ro2);
		ro1.addDownRatifyObject(ro3);
		ro2.addDownRatifyObject(ro4);
		ro3.addDownRatifyObject(ro4);
		
		System.out.println(ro1.getStatus());
		ro1.ratify(1);
		ro2.ratify(1);
		ro3.ratify(1);
		
//		System.out.println(ro1.ratify());
		System.out.println(ro1.getStatus());
		
		System.out.println(ro1);
		System.out.println(ro2);
		System.out.println(ro3);
		System.out.println(ro4);*/
		
		
		RatifyX rx = new RatifyX();
		rx.setBusicode("1001");
		rx.setBusiicode("105");
		rx.setBcode("999");
		//rx.setRatifyVectorDB();
		System.out.println(rx.makeRatifyDetail());
		
	}
}
